#include "ncu_param.h"
#ifdef DMALLOC
#include <imp/dmalloc.h>
#endif
ncu_param night = {
	.NCU_CTRL_FLAGS=0x0000,  //0:enable maunal mode 4:enable dump  8:print gain 16:refresh first frame
	.NCU_FUNCS=0x22a03,     //0x22acf;0x0aacf;0x115cf;0x055cf
	.NCU_GAIN_0=256,
	.NCU_GAIN_1=583,
	.NCU_GAIN_2=1650,
	.NCU_GAIN_3=2300,
	.NCU_GAIN_4=4300,
	.NCU_GAIN_5=8100,
	.NCU_GAIN_6=12000,
	.NCU_GAIN_7=17200,
	.NCU_GAIN_8=18000,
	.NCU_L_SDN_EN=1,        //range : 0~1
	.NCU_L_TDN_EN=1,        //range : 0~1
	.NCU_L_LCK_EN=0,        //range : 0~1
	.NCU_L_CNA_THRES=10,    //range : 0~1023
	.NCU_L_CNA_STREN=5,     //range : 0~63
	.NCU_L_LID_THRES=20,    //range : 0~255
	.NCU_L_LID_STREN=75,    //range : 0~100(-50 ~ 50)
	.NCU_L_LIB_THRES=245,   //range : 0~255
	.NCU_L_LIB_STREN=45,    //range : 0~100(-50 ~ 50)
	.NCU_L_SMJ_THRES={250,250,250,250,250,250,250,250,250},  //range : 0~256
	.NCU_L_OSB_THRES=200,   //range : 0~255
	.NCU_L_OSB_SLOPE=4,     //range : 0~7
	.NCU_L_OSD_THRES=200,   //range : 0~255
	.NCU_L_OSD_SLOPE=4,     //range : 0~7
	.NCU_L_OMB_THRES=200,   //range : 0~255
	.NCU_L_OMB_SLOPE=4,     //range : 0~7
	.NCU_L_OMD_THRES=200,   //range : 0~255
	.NCU_L_OMD_SLOPE=4,     //range : 0~7
	.NCU_L_EDG_TYPE=0,                                       //range : 0~1
	.NCU_L_EDG_DIFF_SLOPE={0,0,0,0,0,0,0,0,0},               //range : 0~3
	.NCU_L_EDG_DIFF_LOW={100,100,100,100,100,100,100,100,100},            //range : 0~255
	.NCU_L_EDG_DIFF_HIGH={200,200,200,200,200,200,200,200,200},           //range : 0~255
	.NCU_L_ESA_PEAK=50,                                                   //range : 0~100
	.NCU_L_ESA_STREN_L=0,                                                //range : 0~256
	.NCU_L_ESA_THRES={100, 100, 100, 100, 100, 100, 100, 100, 100},       //range : 0~255
	.NCU_L_ESA_STREN_H={0, 0, 0, 0, 0, 0, 0, 0, 0},                       //range : 0~256
	.NCU_L_EMA_PEAK=50,                                                   //range : 0~100
	.NCU_L_EMA_STREN_L=0,                                                 //range : 0~256
	.NCU_L_EMA_THRES={100, 100, 100, 100, 100, 100, 100, 100, 100},       //range : 0~255
	.NCU_L_EMA_STREN_H={0, 0, 0, 0, 0, 0, 0, 0, 0},                       //range : 0~256
	.NCU_L_PSA_PEAK=50,                                                   //range : 0~100
	.NCU_L_PSA_STREN_L=10,                                                //range : 0~256
	.NCU_L_PSA_THRES={30, 40, 50, 60, 65, 70, 80, 90, 100},               //range : 0~255
	.NCU_L_PSA_STREN_H={30, 30, 30, 30, 30, 30, 30, 30, 30},                       //range : 0~256
	.NCU_L_PMA_PEAK=50,                                                   //range : 0~100
	.NCU_L_PMA_STREN_L=0,                                                 //range : 0~256
	.NCU_L_PMA_THRES={50, 50, 50, 50, 50, 50, 50, 50, 50},                //range : 0~255
	.NCU_L_PMA_STREN_H={0, 0, 0, 0, 0, 0, 0, 0, 0},     //range : 0~256
	.NCU_L_BTA_STREN={0, 0, 0, 0, 0, 3, 3, 3, 3},                         //range : 0~3
	.NCU_L_BSA_STREN={10, 20, 50, 50, 50, 50, 50, 50, 50},                //range : 0~256
	.NCU_L_BMA_STREN={256, 256, 256, 256, 256, 256, 256, 256, 256},       //range : 0~256
	.NCU_L_TDN_TYPE={0,0,0,0,0,0,0,0,0},                                    //range : 0~1
	.NCU_L_TDN_STEP={5,5,5,5,5,5,5,5,5},                                  //range : 0~255
	.NCU_L_TDN_RISEL={0,0,0,0,0,0,0,0,0},                                   //range : 0~1
	.NCU_L_TDN_MAXNUM={20,20,20,20,20,20,20,20,20},                          //range : 0~31
	.NCU_L_TDN_BDV_ADJ_1={20,20,20,30,30,30,30,30,30},                    //range : 0~63
	.NCU_L_TDN_BDV_ADJ_2={10,10,10,20,20,20,20,20,20},                    //range : 0~63
	.NCU_L_TDN_BDV_ADJ_3={10,10,10,10,10,10,10,10,10},                    //range : 0~63
	.NCU_L_TDN_BDV_ADJ_4={5,5,5,5,5,5,5,5,5},                             //range : 0~63
	.NCU_L_TDN_BDV_ADJ_5={0,0,0,0,0,0,0,0,0},                             //range : 0~63
	.NCU_L_TDN_WIN={28,28,40,40,40,40,40,40,40},                          //range : 16~256
	.NCU_L_TDN_LEVEL={35, 35, 35, 35, 35, 35, 35, 35, 35},                //range : 0~35
	.NCU_L_TDN_NUM={40, 40, 40, 40, 40, 40, 40, 40, 40},                  //range : 0~256
	.NCU_L_TDN_LMT={220, 220, 230, 230, 230, 230, 230, 230, 230},         //range : 0~256
	.NCU_L_TDN_PEAK={20, 20, 20, 30, 30, 20, 10, 10, 10},                    //range : 0~100
	.NCU_L_TDN_STREN_L={10, 10, 10, 10, 10, 10, 10, 10, 10},              //range : 0~256
	.NCU_L_TDN_THRES={30, 30, 30, 40, 40, 40, 40, 40, 40},                //range : 0~511
	.NCU_L_TDN_STREN_H={100, 100, 100, 100, 100, 100, 100, 100, 100},     //range : 0~256
	.NCU_L_TDN_SBASE={0, 0, 0, 0, 0, 0, 0, 0, 0},                         //range : 0~256
	.NCU_L_SDN_STREN_P={0, 1, 2, 10, 10, 10, 10, 10, 10},              //range : 0~16
	.NCU_L_SDN_STREN_G={0, 0, 1, 3, 3, 3, 3, 3, 3},                       //range : 0~3
	.NCU_C_SDN_EN=1,       //range : 0~1
	.NCU_C_TDN_EN=1,       //range : 0~1
	.NCU_C_LCK_EN=0,       //range : 0~1
	.NCU_C_CNA_THRES=10,   //range : 0~1023
	.NCU_C_CNA_STREN=5,    //range : 0~63
	.NCU_C_SMJ_THRES={128,128,128,128,128,128,128,128,128},  //range : 0~256
	.NCU_C_OSB_THRES=200,  //range : 0~255
	.NCU_C_OSB_SLOPE=4,    //range : 0~7
	.NCU_C_OSD_THRES=200,  //range : 0~255
	.NCU_C_OSD_SLOPE=4,    //range : 0~7
	.NCU_C_OMB_THRES=100,  //range : 0~255
	.NCU_C_OMB_SLOPE=4,    //range : 0~7
	.NCU_C_OMD_THRES=100,  //range : 0~255
	.NCU_C_OMD_SLOPE=4,    //range : 0~7
	.NCU_C_EDG_TYPE=0,                                       //range : 0~1
	.NCU_C_EDG_DIFF_SLOPE={0,0,0,0,0,0,0,0,0},               //range : 0~3
	.NCU_C_EDG_DIFF_LOW={0,0,0,0,0,0,0,0,0},                 //range : 0~255
	.NCU_C_EDG_DIFF_HIGH={0,0,0,0,0,0,0,0,0},                //range : 0~255
	.NCU_C_ESA_PEAK=50,                                                   //range : 0~100
	.NCU_C_ESA_STREN_L=0,                                                 //range : 0~256
	.NCU_C_ESA_THRES={100, 100, 100, 100, 100, 100, 100, 100, 100},               //range : 0~255
	.NCU_C_ESA_STREN_H={0, 0, 0, 0, 0, 0, 0, 0, 0},                       //range : 0~256
	.NCU_C_EMA_PEAK=50,                                                   //range : 0~100
	.NCU_C_EMA_STREN_L=0,                                                 //range : 0~256
	.NCU_C_EMA_THRES={100, 100, 100, 100, 100, 100, 100, 100, 100},                 //range : 0~255
	.NCU_C_EMA_STREN_H={0, 0, 0, 0, 0, 0, 0, 0, 0},                       //range : 0~256
	.NCU_C_PSA_PEAK=50,                                                   //range : 0~100
	.NCU_C_PSA_STREN_L=20,                                                //range : 0~256
	.NCU_C_PSA_THRES={40, 50 ,60, 70, 80, 90, 100, 110, 120},             //range : 0~255
	.NCU_C_PSA_STREN_H={80, 150 ,160, 170, 180, 190, 200, 210, 220},      //range : 0~256
	.NCU_C_PMA_PEAK=50,                                                   //range : 0~100
	.NCU_C_PMA_STREN_L=0,                                                 //range : 0~256
	.NCU_C_PMA_THRES={10, 15, 20, 25, 30, 35, 40, 45, 50},                //range : 0~255
	.NCU_C_PMA_STREN_H={5, 35, 40, 45, 50, 55, 60, 65, 70},               //range : 0~256
	.NCU_C_BSA_STREN={5, 15, 20, 25, 30, 35, 40, 45, 50},                 //range : 0~256
	.NCU_C_BMA_STREN={5, 40, 50, 60, 70, 160, 180, 200, 220},             //range : 0~256
	.NCU_C_TDN_TYPE={1, 1, 1, 1, 1, 1, 1, 1, 1},                                    //range : 0~1
	.NCU_C_TDN_STEP={10,10,10,10,10,10,10,10,10},                         //range : 0~255
	.NCU_C_TDN_MAXNUM={15,15,15,15,15,15,15,15,15},                          //range : 0~31
	.NCU_C_TDN_BDV_ADJ_1={0,0,0,0,0,0,0,0,0},                             //range : 0~63
	.NCU_C_TDN_BDV_ADJ_2={0,0,0,0,0,0,0,0,0},                             //range : 0~63
	.NCU_C_TDN_BDV_ADJ_3={0,0,0,0,0,0,0,0,0},                             //range : 0~63
	.NCU_C_TDN_BDV_ADJ_4={0,0,0,0,0,0,0,0,0},                             //range : 0~63
	.NCU_C_TDN_BDV_ADJ_5={0,0,0,0,0,0,0,0,0},                             //range : 0~63
	.NCU_C_TDN_WIN={28,28,28,28,40,80,80,80,100},                         //range : 16~256
	.NCU_C_TDN_LEVEL={0, 1, 2, 3, 4, 5, 6, 7, 8},                         //range : 0~35
	.NCU_C_TDN_NUM={30, 30, 30, 30, 30, 30, 30, 30, 30},                  //range : 0~256
	.NCU_C_TDN_LMT={110, 120, 130, 150, 170, 180, 180, 180, 180},         //range : 0~256
	.NCU_C_TDN_PEAK={5, 5, 5, 5, 5, 5, 5, 5, 5},                          //range : 0~100
	.NCU_C_TDN_STREN_L={0, 0, 10, 10, 10, 10, 10, 10, 10},                //range : 0~256
	.NCU_C_TDN_THRES={12, 12, 14, 14, 16, 18, 20, 18, 15},                //range : 0~511
	.NCU_C_TDN_STREN_H={50, 60, 70, 80, 90, 110, 120, 130, 150},          //range : 0~256
	.NCU_C_TDN_SBASE={0, 0, 0, 0, 0, 0, 0, 0, 0},                         //range : 0~256
	.NCU_C_SDN_THRES={0, 0, 0, 3, 4, 5, 6, 7, 8},                         //range : 0~16
	.NCU_C_SDN_STREN={0, 0 ,0, 0, 0, 1, 1, 2, 2},                         //range : 0~3
};
